FROM registry.cn-hongkong.aliyuncs.com/yhydev/dl:latest@sha256:e44516755efbe73857d3be9b331b792d31d02e5c84b6bbc315797061bec9e67b
ARG SERVER_ADDR=1.1.1.1
ARG SERVER_PORT=7000
ARG PROXY_NAME=proxy1
COPY proc.ini /etc/supervisor.d
COPY frpc.toml /etc
COPY start.sh /usr/bin
ENV SERVER_ADDR $SERVER_ADDR
ENV SERVER_PORT $SERVER_PORT
ENV PROXY_NAME $PROXY_NAME
RUN chmod +x /usr/bin/start.sh
RUN start.sh